#import <QTKit/QTKit.h>
#import <Cocoa/Cocoa.h>
#import <QuickTime/QuickTime.h>

@interface EditableMovie : NSObject
{
	QTMovie *mMovie;
	DataHandler mDataHandlerRef;
}

- (id)init;
- (QTMovie *)movie;
- (Movie)quicktimeMovieFromTempFile:(DataHandler *)outDataHandler error:(OSErr *)outErr;

// Facade methods
- (void)addImage:(NSImage *)image forDuration:(QTTime)duration withAttributes:(NSDictionary *)attributes;
- (NSImage *)currentFrameImage;
- (QTTime)duration;
- (NSImage *)frameImageAtTime:(QTTime)time;
-(BOOL)writeToFile:(NSString *)fileName withAttributes:(NSDictionary *)attributes;

@end
